import request from './request';

export function getExtensions() {
  return request.get('/extensions');
}

export function addExtension(data) {
  return request.post('/extensions', data);
}

export function updateExtension(data) {
  return request.put('/extensions', data);
}

export function deleteExtension(id) {
  return request.delete(`/extensions/${id}`);
} 